import CommandBase = require("commands/commandBase");
import Song = require("models/song");

class GetArtistBioCommand extends CommandBase {

    constructor(private artist: string) {
        super();
    }

    execute(): JQueryPromise<string> {
        var url = "/api/artists/" + encodeURIComponent(this.artist) + "/bio";
        return this.query(url);
    }
}

export = GetArtistBioCommand; 